<form class="layui-form">
    <div class="layui-form-item">
        <h1>
            将生成下列文件,确定操作吗?
        </h1>
        <input name="module" type="hidden" value="{$module}"/>
        <input name="tn" type="hidden" value="{$tn}"/>
    </div>
    <div class="layui-form-item">
        <button class="layui-btn layui-btn-sm" lay-filter="preview" lay-submit="">
            <i class="layui-icon">
                
            </i>
            生成
        </button>
        <button class="layui-btn layui-btn-sm layui-back" type="button">
            <i class="layui-icon">
                
            </i>
            取消
        </button>
    </div>
</form>
<div class="layui-collapse">
    {foreach $data as $v}
    <div class="layui-colla-item">
        <h2 class="layui-colla-title">
            {$v[0]}
        </h2>
        <div class="layui-colla-content">
            <pre>{:htmlentities($v[1])}</pre>
        </div>
    </div>
    {/foreach}
</div>
{load href="__module__/admin/gen/preview.js" /}
